home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sources / xedit / xedit.h < prev    next >
C/C++ Source or Header  |  1994-09-27  |  2KB  |  70 lines

  1. /*
  2.  *    rcs_id[] = "$XConsortium: xedit.h,v 1.19 89/10/07 14:59:46 kit Exp $";
  3.  */
  4.  
  5. /*
  6.  *              COPYRIGHT 1987
  7.  *           DIGITAL EQUIPMENT CORPORATION
  8.  *               MAYNARD, MASSACHUSETTS
  9.  *            ALL RIGHTS RESERVED.
  10.  *
  11.  * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
  12.  * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
  13.  * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR
  14.  * ANY PURPOSE.  IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
  15.  *
  16.  * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT RIGHTS,
  17.  * APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN ADDITION TO THAT
  18.  * SET FORTH ABOVE.
  19.  *
  20.  *
  21.  * Permission to use, copy, modify, and distribute this software and its
  22.  * documentation for any purpose and without fee is hereby granted, provided
  23.  * that the above copyright notice appear in all copies and that both that
  24.  * copyright notice and this permission notice appear in supporting
  25.  * documentation, and that the name of Digital Equipment Corporation not be 
  26.  * used in advertising or publicity pertaining to distribution of the software
  27.  * without specific, written prior permission.
  28.  */
  29.  
  30. #include <stdio.h>
  31. #include <X11/Intrinsic.h>
  32. #include <X11/StringDefs.h>
  33. #include <X11/cursorfont.h>
  34. #include <X11/Xatom.h>
  35.  
  36. #include <X11/Xaw/Box.h>
  37. #include <X11/Xaw/Command.h>
  38. #include <X11/Xaw/Label.h>
  39. #include <X11/Xaw/AsciiText.h>
  40. #include <X11/Xaw/Paned.h>
  41. #include <X11/Xaw/Viewport.h>
  42. #include <X11/Xaw/Cardinals.h>
  43.  
  44. extern struct _app_resources {
  45.     Boolean enableBackups;
  46.     char *backupNamePrefix;
  47.     char *backupNameSuffix;
  48. } app_resources;
  49.  
  50. typedef enum {NO_READ, READ_OK, WRITE_OK} FileAccess;
  51.  
  52. /*    externals in xedit.c     */
  53.  
  54. extern void Feep();
  55.  
  56. /*    externals in util.c     */
  57.  
  58. extern void   XeditPrintf();
  59. extern Widget MakeCommandButton();
  60. extern Widget MakeStringBox();
  61. extern String GetString();
  62. extern FileAccess MaybeCreateFile(), CheckFilePermissions();
  63.  
  64. /*    externs in commands.c     */
  65.  
  66. extern void DoQuit();
  67. extern void DoSave();
  68. extern void DoLoad();
  69.  
  70.